import http from '../util/http.js'

const createUrl = '/coupon/create'
const queryThirtyUrl = '/coupon/queryThirty'
const queryFiftyUrl = '/coupon/queryFifty'

const create = (data) =>{
    return http.post(createUrl,data)
}
const queryThirty = () =>{
    return http.get(queryThirtyUrl)
}
const queryFifty = () =>{
    return http.get(queryFiftyUrl)
}

export default {
    create,queryThirty,queryFifty
}